This function returns the compression code and compression parameters for a given field.
Result = EOS_GD_COMPINFO(gridID, fieldname, compcode, compparm)
Returns SUCCEED(0) if successful and FAIL(–1) otherwise.
Grid id (long) returned by EOS_GD_CREATE or EOS_GD_ATTACH.
Fieldname (string).
A named variable that will contain the HDF compression code (long).
A named variable that will contain the compression parameters (long array).
None
To retrieve the compression information about the Opacity field defined in the EOS_GD_DEFCOMP section:
status = EOS_GD_COMPINFO(gridID, "Opacity", compcode, compparm)
5.2 |
Introduced |